# coding: UTF-8
# Filename : chain_app_data_model.py
# Company : imedia
# Author : rose
# -*-coding:utf-8 -*-

#xml头文件
xml_head = '''<?xml version="1.0" encoding="UTF-8" ?>'''
imedia_start = '''<imedia>'''
imedia_end = '''</imedia>'''

imedia_body_tpl = '''<setting>
{body}</setting>
'''
line_model = '''<{line_tpl}><![CDATA[{{line_tpl}}]]></{line_tpl}>\n'''

#验证失败
key_error = xml_head + '''
<imedia>
<error>
<code>000</code>
<msg>通信验证失败</msg>
</error>
</imedia>
'''
